package com.miku.blog.service;

import com.miku.blog.domain.OperationLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.miku.blog.domain.pojo.ResponseResult;
import org.aspectj.lang.ProceedingJoinPoint;

/**
* @author Miku
* @description 针对表【tb_operation_log】的数据库操作Service
* @createDate 2022-06-06 10:35:49
*/
public interface OperationLogService extends IService<OperationLog> {

    /**
     * 添加 成功操作的日志信息 (不添加查询记录)
     * @param joinPoint
     * @param proceed
     */
    void addSuccessOperationLog(ProceedingJoinPoint joinPoint, Object proceed);

    /**
     * 获取 操作日志列表
     * @param current
     * @param size
     * @param keywords
     * @return
     */
    ResponseResult getOperationLogs(Integer current, Integer size, String keywords);

    /**
     * 删除(物理)操作日志列表
     * @param operationLogIdList
     * @return
     */
    ResponseResult deleteOperationLogs(Integer[] operationLogIdList);
}
